// UeDbElbow.h: interface for the UeDbElbow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UEDBELBOW_H__98F3B7F6_02B9_459D_8960_F6CD4736C03F__INCLUDED_)
#define AFX_UEDBELBOW_H__98F3B7F6_02B9_459D_8960_F6CD4736C03F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "UeDbElbowIndex.h"

class UeDbElbow : public UeDbElbowIndex  
{
	DECLARE_DYNAMIC(UeDbElbow)

public:
	UeDbElbow();
	virtual ~UeDbElbow();

public:
	inline CString getCATNO() const {return m_strCATNO;}
	inline CString getEndType() const {return m_strEndType;}

	inline VOID setCATNO(const CString& strCATNO){m_strCATNO = strCATNO;}
	inline VOID setEndType(const CString& strEndType){m_strEndType = strEndType;}

	inline DOUBLE getDW() const {return m_dbDW;}
	inline DOUBLE getAngle() const {return m_dbAngle;}
	inline DOUBLE getWeight() const {return m_dbWeight;}
	inline DOUBLE getElbowThick() const {return m_dbElbowThick;}
	inline DOUBLE getElbowRadius() const {return m_dbElbowRadius;}
	inline DOUBLE getStraightLenght() const {return m_dbElbowStraightLength;}

	inline VOID setDW(DOUBLE dbDW){m_dbDW = dbDW;}
	inline VOID setAngle(DOUBLE dbAngle){m_dbAngle = dbAngle;}
	inline VOID setWeight(DOUBLE dbWeight){m_dbWeight = dbWeight;}
	inline VOID setElbowThick(DOUBLE dbElbowThick){m_dbElbowThick = dbElbowThick;}
	inline VOID setElbowRadius(DOUBLE dbElbowRadius){m_dbElbowRadius = dbElbowRadius;}
	inline VOID setStraightLength(DOUBLE dbStraightLength){m_dbElbowStraightLength = dbStraightLength;}

	const UeDbElbow& operator=(const UeDbElbow& elbow);

private:
	DOUBLE m_dbDW;
	DOUBLE m_dbAngle;
	DOUBLE m_dbWeight;
	DOUBLE m_dbElbowThick;
	DOUBLE m_dbElbowRadius;
	DOUBLE m_dbElbowStraightLength;
	
	CString m_strCATNO;
	CString m_strEndType;
};

#endif // !defined(AFX_UEDBELBOW_H__98F3B7F6_02B9_459D_8960_F6CD4736C03F__INCLUDED_)
